﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace PMS.Models.Base
{
    ///<summary>
    ///系统异常日志表的实体类
    ///</summary>
    [Serializable]
    [Table("BaseLog")]
    public class BaseLog
    {
        /// <summary>
        /// 日志表主键
        /// </summary>
        [Key]
        [Column("Id")]
        public System.Guid Id { get; set; }
        /// <summary>
        /// 异常名称
        /// </summary>
        [Column("Title")]
        public string Title { get; set; }
        /// <summary>
        /// 异常类型
        /// </summary>
        [Column("Type")]
        public string Type { get; set; }
        /// <summary>
        /// 异常内容
        /// </summary>
        [Column("Content")]
        public string Content { get; set; }
        /// <summary>
        /// 是否处理 0 未处理 1处理完成 待补充
        /// </summary>
        [Column("DealWith")]
        public int DealWith { get; set; }
        /// <summary>
        /// 处理时间
        /// </summary>
        [Column("DealWithDate")]
        public System.DateTime? DealWithDate { get; set; }
        /// <summary>
        /// 删除标识1表示删除0表示未删除
        /// </summary>
        [Column("IsDel")]
        public int IsDel { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        [Column("CreateBy")]
        public int CreateBy { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        [Column("CreateDate")]
        public System.DateTime CreateDate { get; set; }
        /// <summary>
        /// 更新人
        /// </summary>
        [Column("ModifyBy")]
        public int ModifyBy { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        [Column("ModifyDate")]
        public System.DateTime ModifyDate { get; set; }
        /// <summary>
        /// 删除人
        /// </summary>
        [Column("DeleteBy")]
        public int DeleteBy { get; set; }
        /// <summary>
        /// 删除时间
        /// </summary>
        [Column("DeleteDate")]
        public System.DateTime? DeleteDate { get; set; }
    }
}